package com.zx.mes.share.jdbc.hyl;

import com.zx.mes.share.jdbc.hyl.service.DemoService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

/**
 * share-jdbc的使用
 * @author hyl
 * @date 2018-3-11
 */
@SpringBootApplication
public class SpringBootDataMybatisApplication {

    public static void main(String []args){
        ApplicationContext applicationContext = SpringApplication.run(SpringBootDataMybatisApplication.class, args);
        applicationContext.getBean(DemoService.class).demo();
    }
}
